package com.glsc.ngateway.platform.service.itflow.flowstrategy;

import com.glsc.ngateway.common.api.flowable.dto.task.FlowFormBaseEntityDto;
import com.glsc.ngateway.common.api.flowable.dto.task.doTaskParam.AbstractPassParamDto;
import com.glsc.ngateway.common.api.flowable.dto.task.formData.AbstractTaskFormDataDto;

import javax.validation.constraints.NotNull;

/**
 * 审核通过后置处理接口
 * @author xuchang
 */
public interface IItFlowAuditPassAfterHandler<D extends FlowFormBaseEntityDto, T extends AbstractTaskFormDataDto<D>, P extends AbstractPassParamDto<D, T>> {
    /**
     * 后置处理方法
     * @param passParam
     * @param operator
     */
    default void passAfterHandle(@NotNull P passParam, @NotNull String operator) throws Exception {
    }
}
